import React from "react";
import { COLORS, Colors } from "styles/var/colors";
import { ICON_SIZES, IconSizes } from "styles/var/icon_sizes";

interface IUbuntuProps {
  size?: IconSizes;
  color?: Colors;
}

const Ubuntu = ({
  size = "medium",
  color = "ui-fleet-black-75",
}: IUbuntuProps) => {
  return (
    <svg
      width={ICON_SIZES[size]}
      height={ICON_SIZES[size]}
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      viewBox="0 0 17 16"
    >
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M6.9 4.452c-.377-.602-.747-1.204-1.14-1.821-1.365.929-2.29 2.096-2.715 3.604-.03.097.054.26.14.342.786.832.809 2.006.015 2.809-.178.178-.193.327-.124.543a6.433 6.433 0 0 0 1.758 2.72c.278.26.594.475.926.743.4-.654.778-1.249 1.156-1.858-2.32-1.59-2.714-5.165-.015-7.082ZM15.806 8.368c-.54 0-1.079.007-1.611-.008-.255-.007-.34.067-.378.32-.293 1.984-2.113 3.522-4.194 3.59-.717.022-1.396-.127-2.075-.395-.362.625-.717 1.234-1.064 1.836.031.037.047.06.062.067 1.457.691 2.976.825 4.542.446.084-.023.17-.127.2-.216.386-1.166 1.373-1.724 2.606-1.479.108.023.278-.007.355-.074 1.064-1.063 1.68-2.326 1.843-3.797.008-.216-.077-.29-.285-.29ZM7.903 3.998c2.468-.877 5.197.498 5.837 2.943.062.23.039.557.185.661.17.12.486.038.74.038h1.388c.016-.097.031-.127.023-.164-.107-1.523-.755-2.824-1.835-3.924-.07-.067-.246-.096-.354-.074-1.196.253-2.236-.327-2.607-1.442a.492.492 0 0 0-.3-.275 6.284 6.284 0 0 0-2.498-.119c-.694.104-1.373.283-2.028.625.362.631.717 1.24 1.08 1.872.161-.067.261-.104.37-.14Z"
        fill={COLORS[color]}
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M1.658 6.488c-.849 0-1.558.69-1.566 1.508-.007.825.694 1.502 1.55 1.502.88.007 1.565-.64 1.573-1.472.008-.855-.678-1.538-1.557-1.538ZM13.324 3.002c.863.008 1.565-.654 1.588-1.486.015-.803-.71-1.509-1.558-1.516-.87-.007-1.565.654-1.572 1.486-.008.84.678 1.516 1.542 1.516ZM13.331 12.983c-.855 0-1.55.676-1.55 1.508-.007.84.671 1.502 1.543 1.51.879.006 1.588-.677 1.58-1.51-.007-.817-.724-1.508-1.573-1.508Z"
        fill={COLORS[color]}
      />
    </svg>
  );
};

export default Ubuntu;
